﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DXApplicationTangche.UC.金蝶.dto
{
    class PayableDTO
    {
        public class FBillTypeID
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNUMBER { get; set; }
        }

        public class FCONTACTUNIT
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNumber { get; set; }
        }

        public class FCURRENCYID
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNumber { get; set; }
        }

        public class FDEPARTMENTID
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNumber { get; set; }
        }

        public class FPURCHASEDEPTID
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNumber { get; set; }
        }

        public class FPURCHASERGROUPID
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNumber { get; set; }
        }

        public class FPURCHASERID
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNumber { get; set; }
        }

        public class FScanPoint
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNUMBER { get; set; }
        }

        public class FSettleTypeID
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNumber { get; set; }
        }

        public class FMAINBOOKSTDCURRID
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNumber { get; set; }
        }

        public class FEXCHANGETYPE
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNumber { get; set; }
        }

        public class FPRESETBASE1
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNUMBER { get; set; }
        }

        public class FPRESETBASE2
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNUMBER { get; set; }
        }

        public class FPRESETASSISTANT1
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNumber { get; set; }
        }

        public class FPRESETASSISTANT2
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNumber { get; set; }
        }

        public class FCOSTID
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNumber { get; set; }
        }

        public class FCOSTDEPARTMENTID
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNumber { get; set; }
        }

        public class FPaySubEntityItem
        {
            /// <summary>
            /// 
            /// </summary>
            public int FDetailID { get; set; }
        }

        public class FEntityItem
        {
            /// <summary>
            /// 
            /// </summary>
            public int FEntryID { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FCOSTID FCOSTID { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FCOSTDEPARTMENTID FCOSTDEPARTMENTID { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FINVOICETYPE { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FEntryTaxRate { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FNOTAXAMOUNTFOR { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FTAXAMOUNTFOR { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FTOTALAMOUNTFOR { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FNOTSETTLEAMOUNTFOR_D { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FNOTAXAMOUNT_D { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FTAXAMOUNT_D { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FCOMMENT { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FSourceBillNo { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FCREATEINVOICE { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FIVAmountFor { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<FPaySubEntityItem> FPaySubEntity { get; set; }
        }

        public class Model
        {
            /// <summary>
            /// 
            /// </summary>
            public int FID { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FBillTypeID FBillTypeID { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FBillNo { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FDATE { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FENDDATE_H { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FISINIT { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FCONTACTUNITTYPE { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FCONTACTUNIT FCONTACTUNIT { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FCURRENCYID FCURRENCYID { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FTOTALAMOUNTFOR_H { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FNOTSETTLEAMOUNTFOR { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FDEPARTMENTID FDEPARTMENTID { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FPURCHASEDEPTID FPURCHASEDEPTID { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FPURCHASERGROUPID FPURCHASERGROUPID { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FPURCHASERID FPURCHASERID { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FRemarks { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FScanPoint FScanPoint { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FSettleTypeID FSettleTypeID { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FMAINBOOKSTDCURRID FMAINBOOKSTDCURRID { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FEXCHANGETYPE FEXCHANGETYPE { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FExchangeRate { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FNOTAXAMOUNT { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FTAXAMOUNT { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FACCNTTIMEJUDGETIME { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FCancelStatus { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FBUSINESSTYPE { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FHisLoanBalanceFor { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FPRESETBASE1 FPRESETBASE1 { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FPRESETBASE2 FPRESETBASE2 { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FPRESETASSISTANT1 FPRESETASSISTANT1 { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FPRESETASSISTANT2 FPRESETASSISTANT2 { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FPRESETTEXT1 { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FPRESETTEXT2 { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<FEntityItem> FEntity { get; set; }
        }

        public class Root
        {
            /// <summary>
            /// 
            /// </summary>
            public List<string> NeedUpDateFields { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<string> NeedReturnFields { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string IsDeleteEntry { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string SubSystemId { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string IsVerifyBaseDataField { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string IsEntryBatchFill { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string ValidateFlag { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string NumberSearch { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string IsAutoAdjustField { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string InterationFlags { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string IgnoreInterationFlag { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public Model Model { get; set; }
        }
    }
}
